package io.renren.modules.sys.back.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author goudandan
 * @email resjz1@163.com
 * @date 2018-09-13 15:01:50
 */
@TableName("bt_categroy_manage")
public class BtCategroyManageEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * 分类id
	 */
	@TableId
	private Long id;
	/**
	 * 分类名称
	 */
	private String name;
	/**
	 * 上级分类
	 */
	private Long pid;
	@TableField(exist=false)
	private String parentName;

	/**
	 * 分类类别
	 */
	private String catatype;
	/**
	 * 层级
	 */
	private Integer deepnum;

	public String getCatatype() {
		return catatype;
	}

	public void setCatatype(String catatype) {
		this.catatype = catatype;
	}

	public Integer getDeepnum() {
		return deepnum;
	}

	public void setDeepnum(Integer deepnum) {
		this.deepnum = deepnum;
	}

	public String getParentName() {
		return parentName;
	}

	public void setParentName(String parentName) {
		this.parentName = parentName;
	}

	/**
	 * 设置：分类id
	 */
	public void setId(Long id) {
		this.id = id;
	}
	/**
	 * 获取：分类id
	 */
	public Long getId() {
		return id;
	}
	/**
	 * 设置：分类名称
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * 获取：分类名称
	 */
	public String getName() {
		return name;
	}
	/**
	 * 设置：上级分类
	 */
	public void setPid(Long pid) {
		this.pid = pid;
	}
	/**
	 * 获取：上级分类
	 */
	public Long getPid() {
		return pid;
	}
}
